package com.exam.demo.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.exam.demo.entity.Menu;
import com.exam.demo.entity.Role;

import java.util.List;

/**
 * 功能描述
 *
 * @author yxj30
 * @date 2022/03/16  19:23
 */

public interface RoleService extends IService<Role> {

    void setRoleMenu(Integer roleId, List<Integer> menuIds);

    List<Integer> getRoleMenu(Integer roleId);

    List<Menu> getRoleMenus(String roleStudent);
}
